﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

using YHWE.Web.Models;
using JULONG.WEB.Library;
using JULONG.WEB.Library.expViewResult;
namespace YHWE.Web.Controllers
{
    public class SiteLibraryController : Controller
    {
        //
        // GET: /SiteLibrary/

        public ActionResult view(int id)
        {
            DataSession<entityDB2Container, SiteLibrary> db = new DataSession<entityDB2Container, SiteLibrary>();
            ViewData.Model = db.get(d => d.channelID == id);
            return View();
        }

        //
        // GET: /SiteLibrary/Details/5


    }
}
